type RoleType = 0 | 1 | 2